﻿using Microsoft.Practices.Unity;
using Microsoft.Practices.Unity.InterceptionExtension;
using SpectrumAnalyser.Services.Common.CallHandlers;

namespace SpectrumAnalyser.Services.Common.Attributes
{
    public class RequireRepositoryFactoryAttribute:HandlerAttribute
    {
        public override ICallHandler CreateHandler(IUnityContainer container)
        {
            return new RequireRepositoryFactoryCallHandler(container);
        }
    }
}